projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4876011
)
Further make_network_process clean up
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Jan 2016 00:33:30 +0000
(
01:33
+0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Jan 2016 00:33:30 +0000
(
01:33
+0100)
* process.c (Fmake_network_process): Remove setting of unused
family variable.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 88441c91de67d763e16b2748d4f2e0bad4a3eae3..e40d7a46267646313e51537187d7262800df9ff7 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-3691,7
+3691,6
@@
usage: (make-network-process &rest ARGS) */)
(lres->ai_addr, lres->ai_addrlen),
ip_addresses);
ai_protocol = lres->ai_protocol;
- family = lres->ai_family;
}
ip_addresses = Fnreverse (ip_addresses);
@@
-3743,7
+3742,6
@@
usage: (make-network-process &rest ARGS) */)
ip_addresses = Ncons (make_number (host_info_ptr->h_addr,
host_info_ptr->h_length),
Qnil);
- family = host_info_ptr->h_addrtype;
}
else
/* Attempt to interpret host as numeric inet address. */